package sample.web.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import sample.web.mapper.UserMapper;
import sample.web.model.User;
import sample.web.service.UserService;

import java.util.List;

@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User>implements UserService {

    @Override
    public Page<User> selectUser(Page<User> objectPage, String name, String phone) {
        return baseMapper.selectUser(objectPage,name,phone);
    }
}
